Skip to content

Fix pipes and break lines on multiple occurences - #32

Merged
miekg merged 1 commit into
miekg:mainfrom
wzykubek:fix-pipe-formatting
Dec 8, 2025
Merged

miekg merged 1 commit into
miekg:mainfrom
wzykubek:fix-pipe-formatting

Conversation

@wzykubek

@wzykubek wzykubek commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

Closes #31

While implementing a fix I've noticed that pipes are not detected at all. Fixed it.

This PR also provides test data for this particular scenario.

Fix detection of pipes and add a new line when multiple pipes
are detected after each other. Furthermore, only break lines
if pipe is long enough.
@miekg

miekg commented Dec 8, 2025

Copy link
Copy Markdown
Owner

thanks!

@miekg
miekg merged commit 8969d4b into miekg:main Dec 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pipes are all formatted into one line if they occur more than one time

2 participants